﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dne.GridExt.Exceptions
{
    public class ArgumentRequiredException : ArgumentException
    {
        public string ArgumnetName { get; private set; }

        public ArgumentRequiredException(string argumentName)
        {
            ArgumnetName = argumentName;
        }

        public override string Message
        {
            get
            {
                return string.Format("Argument {0} is required for proper build DneGrid", ArgumnetName);
            }
        }
    }
}
